/*
 * BugetItem.h
 *
 *  Created on: 2013-2-4
 *      Author: Dspark
 */

#ifndef BUGETITEM_H_
#define BUGETITEM_H_
#include <qstring.h>
class BugetItem{
public:
	BugetItem();
	BugetItem(const BugetItem& item);
	virtual ~BugetItem();
public:
	quint32 getId();
	QString& getComment();
	qreal getValue();
	quint32 getTypeId();
	void setTypeName(const QString& tName);
	QString& getTypeName();
	void setTypeId(quint32 tid);
	void setValue(qreal v);
	void setComment(const QString& c);
	void setId(quint32 i){
		id = i;
	}
private:
	quint32 id, typeId;
	qreal value;
	QString typeName,comment;
};

#endif /* BUGETITEM_H_ */
